<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class GoodController extends Controller
{
    public function getIndex(){
    	echo "商品详情页";
    }
    public function getAdd(){
    	//echo "商品添加页";
    	return view("good.add");
    }
    public function postInsert(){
    	echo "执行添加";
    }
    public function getUpdate(){
    	echo "执行修改";
    }
    public function getDel($id){
    	echo "商品删除".$id;
    }
}
